import request from '@/common/request'

export function getStaffInfoData(data) {
    return request({
        url: '/apiqywx/staff/index',
        method: 'post',
        data:data
    })
}
export function department(data) {
    return request({
        url: '/apiqywx/staff/department',
        method: 'post',
        data:data
    })
}

export function syncEmployee(data) {
    return request({
        url: '/apiqywx/staff/syncEmployee',
        method: 'post',
        data:data
    })
}

export function syncEmployeeDesc(data) {
    return request({
        url: '/apiqywx/staff/syncEmployeeDesc',
        method: 'post',
        data:data
    })
}
export function delUser(data) {
    return request({
        url: '/apiqywx/staff/delUser',
        method: 'post',
        data:data
    })
}
export function editUser(data) {
    return request({
        url: '/apiqywx/staff/editUser',
        method: 'post',
        data:data
    })
}

